:<<EOF
# 公开模型下载
git lfs install
git clone https://www.modelscope.cn/<namespace>/<model-name>.git
# 例如: git clone https://www.modelscope.cn/damo/ofa_image-caption_coco_large_en.git

# 私有模型下载，前提是您有响应模型权限 方法1
git lfs install
git clone http://oauth2:your_git_token@www.modelscope.cn/<namespace>/<model-name>.git
# 方法2
git clone http://your_user_name@www.modelscope.cn/<namespace>/<model-name>.git
# Password for 'http://your_user_name@modelscope.cn':
# input git token
EOF

# pip install -r damo-requirements.txt --verbose

#DamoFD人脸检测关键点模型-0.5G
pushd damo
    git clone https://www.modelscope.cn/damo/cv_ddsar_face-detection_iclr23-damofd.git
    # https://github.com/ly19965/EasyFace/tree/master
popd
